home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / viewkit / builderExamples / beep3 / beep.uil next >
Encoding:
Text File  |  1994-08-02  |  3.6 KB  |  135 lines

  1. /*
  2.  * Generated by the ICS builderXcessory (BX).
  3.  *
  4.  *
  5.  * Builder Xcessory 3.0.
  6.  *
  7.  */
  8. module main_uil
  9. version = 'V1.0'
  10. names = case_sensitive
  11. !(BX) bx_info("include_path", ".", false )
  12. !(BX) bx_info("c_information", true )
  13. !(BX) bx_info("app_class", "Beeper", true )
  14. !(BX) bx_info("app_name", "beeper", true )
  15. !(BX) bx_info("c++_pixmaps", "defs-C.h", false )
  16. !(BX) bx_info("c++_utilities", "bxutil-C.C", false )
  17. !(BX) bx_info("c++_main", "main-C.C", true )
  18. !(BX) bx_info("c++_makefile", "makefile", true )
  19. !(BX) bx_info("c++_imakefile", "Imakefile", false )
  20. !(BX) bx_info("uil_utilities", "bxutil-uil.c", true )
  21. !(BX) bx_info("uil_constants", "main-uil.h", true )
  22. !(BX) bx_info("uil_callbacks", "callbacks-uil.c", true )
  23. !(BX) bx_info("uil_uil", "beep.uil", true )
  24. !(BX) bx_info("uil_main", "main-uil.c", true )
  25. !(BX) bx_info("uil_imakefile", "Imakefile", true )
  26. !(BX) bx_info("uil_makefile", "makefile-uil", true )
  27. !(BX) bx_info("c_utilities", "bxutil-c.c", true )
  28. !(BX) bx_info("c_pixmaps", "creation-c.h", true )
  29. !(BX) bx_info("c_callbacks", "callbacks-c.c", true )
  30. !(BX) bx_info("c_creation", "creation-c.c", true )
  31. !(BX) bx_info("c_main", "main-c.c", true )
  32. !(BX) bx_info("c_imakefile", "Imakefile", true )
  33. !(BX) bx_info("c_makefile", "makefile-c", true )
  34. !(BX) bx_info("app_defaults", "Beeper", true )
  35.  
  36. procedure beep();
  37.  
  38. list BaseStyle : arguments {
  39. };
  40.  
  41. list BaseStyleReasons : callbacks {
  42. };
  43.  
  44.  
  45. !(BX)object topLevelShell : TopLevelShell widget {
  46. !(BX)    arguments {
  47. !(BX)        XmNx = 622;
  48. !(BX)        XmNy = 141;
  49. !(BX)        XmNwidth = 315;
  50. !(BX)        XmNheight = 212;
  51. !(BX)    };
  52. !(BX)    controls {
  53. !(BX)       managed XmForm beeper;
  54. !(BX)    };
  55. !(BX)    callbacks {
  56. !(BX)    };
  57. !(BX)};
  58.  
  59. object beeper : XmForm widget {
  60.     arguments {
  61. !(BX) BxNclass = "BeeperUI";
  62. !(BX) BxNderived = "Beeper";
  63. !(BX) BxNfilebase = "Beeper";
  64. !(BX) BxNclassFilebase = "BeeperUI";
  65. !(BX) BxNclassGeometry = "273x178+330+56";
  66. !(BX) BxNgenerate = "True";
  67. !(BX) BxNpaletteGroup = "User Defined Classes";
  68. !(BX) BxNpaletteName = "beeperUI";
  69. !(BX) BxNpalettePixmapName = "Class";
  70. !(BX) BxNpaletteGeom = "+0+0";
  71. !(BX) BxNoriginalName = "form";
  72.         XmNresizePolicy = XmRESIZE_GROW;
  73.         XmNx = 622;
  74.         XmNy = 141;
  75.         XmNwidth = 315;
  76.         XmNheight = 212;
  77.     };
  78.     controls {
  79.        managed XmPushButton pushButton;
  80.        managed XmLabel label;
  81.     };
  82.     callbacks {
  83.     };
  84. };
  85.  
  86. object label : XmLabel widget {
  87.     arguments {
  88.         XmNborderWidth = 0;
  89. !(BX)   _XmNlabelString = compound_string("Click To Beep");
  90.         XmNrecomputeSize = true;
  91.         XmNtopAttachment = XmATTACH_FORM;
  92.         XmNbottomAttachment = XmATTACH_NONE;
  93.         XmNleftAttachment = XmATTACH_FORM;
  94.         XmNrightAttachment = XmATTACH_FORM;
  95.         XmNtopOffset = 20;
  96.         XmNbottomOffset = 0;
  97.         XmNleftOffset = 61;
  98.         XmNrightOffset = 62;
  99.         XmNx = 61;
  100.         XmNy = 20;
  101.         XmNwidth = 192;
  102.         XmNheight = 30;
  103.     };
  104.     controls {
  105.     };
  106.     callbacks {
  107.     };
  108. };
  109.  
  110. object pushButton : XmPushButton widget {
  111.     arguments {
  112.         XmNborderWidth = 0;
  113. !(BX)   _XmNlabelString = compound_string("Beep!");
  114.         XmNtopAttachment = XmATTACH_WIDGET;
  115.         XmNbottomAttachment = XmATTACH_FORM;
  116.         XmNleftAttachment = XmATTACH_FORM;
  117.         XmNrightAttachment = XmATTACH_FORM;
  118.         XmNtopWidget = XmLabel label;
  119.         XmNtopOffset = 10;
  120.         XmNbottomOffset = 60;
  121.         XmNleftOffset = 50;
  122.         XmNrightOffset = 50;
  123.         XmNx = 50;
  124.         XmNy = 60;
  125.         XmNwidth = 215;
  126.         XmNheight = 92;
  127.     };
  128.     controls {
  129.     };
  130.     callbacks {
  131.         XmNactivateCallback = procedure beep();
  132.     };
  133. };
  134. end module;
  135.